﻿using Direct.IDAL.Manager;
using DirectSell.Model.Message;
using DirectSell.Model.Query;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Direct.IDAL.Message
{
    /// <summary>
    /// 留言管理仓储接口
    /// </summary>
    public interface IMessageManageRepository : IBaseManagerRepository
    {
        /// <summary>
        /// 发送给我的留言
        /// </summary>
        /// <param name="condition"></param>
        /// <returns></returns>
        Task<IList<Messages>> MyMessage(BaseCondition condition);
        /// <summary>
        /// 我发出的留言
        /// </summary>
        /// <param name="condition"></param>
        /// <returns></returns>
        Task<IList<Messages>> AlreadyMessage(BaseCondition condition);
    }
}
